package com.CreationalPartterns.AbstractFactoryPattern.factory;

import com.CreationalPartterns.AbstractFactoryPattern.function.Cos;
import com.CreationalPartterns.AbstractFactoryPattern.function.func;
import com.CreationalPartterns.AbstractFactoryPattern.operation.Operation;
import com.CreationalPartterns.AbstractFactoryPattern.operation.Sub;

public class ConcretFactory2 implements Ifactory {
	public Operation CreateOperation(){
		return new Sub();
	}
	public func CreateFunc(){
		return new Cos();
	}
}
